package sv.gob.mh.dgii.service.cc;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import sv.gob.mh.dgii.dao.cc.DeCtrlConsultaDAO;
import sv.gob.mh.dgii.service.BaseService;

@Service
public class DeCtrlConsultaServiceImpl extends BaseService implements DeCtrlConsultaService {

    @Autowired
    private DeCtrlConsultaDAO deCtrlConsultaDAO;

    @Override
    public DeCtrlConsultaDAO getDao() {
        return deCtrlConsultaDAO;
    }
    
    @Override    
    public Long getNextSequence(){
        return deCtrlConsultaDAO.getNextSequence();
    }    
}